/**
* Class:  
* Version: alpha
* Author:  Pavel Jacko
* Date:   18/05/2009
* Description:
* 
*/
package syerit.core.display
{
	import syerit.core.display.Border;
	import syerit.core.display.GradientShape;
	
	import flash.display.Sprite;

	public class BorderGradientShape extends Sprite
	{
		private var myBorder:Border;
		private var myGradShape:GradientShape
		public function BorderGradientShape(_w:Number, _h:Number, _colors:Array, _raitos:Array, _alphas:Array, _rot:Number=0,borderColor:uint = 0x000000)
		{
			myGradShape = new GradientShape(_w, _h, _colors, _raitos, _alphas, _rot);
			addChild(myGradShape);
			myBorder = new Border(_w,_h,1,borderColor);
			addChild(myBorder);
			
		}
		
	}
}